package com.eleven.mall.service;

import com.eleven.mall.pojo.ManagerPage;
import com.eleven.mall.pojo.SystemUser;
import com.eleven.mall.pojo.entity.Manager;

/**
 * @Auther: Rui_simple
 * @Date: 2022/10/24 19:55
 * @Description: ManagerService
 * @Version 1.0.0
 */
public interface ManagerService {
    ManagerPage getUserList(String query, Integer pagenum, Integer pagesize);

    Manager addUser(Manager manager);

    Manager changeUserType(Integer id, Boolean type);

    Manager getUserById(Integer id);

    Manager changeUser(Integer id, Manager manager);

    Boolean deleteUser(Integer id);

    Manager changeUserRole(Integer id, Manager manager);
}
